#include "Mydict.h"
#include "SpellcorrectServer.h"
#include <iostream>

int main()
{
    Mydict::createInstance()->init(
        "../../part1/dictionary/dict_en.txt","../../part1/dictionary/dict_cn.txt");
    SpellcorrectServer spell("测试.txt");
    spell.start();

    Mydict::createInstance()->destroy();
    return 0;
}

